package com.diandi.${modelName};

import com.diandi.${modelName}.api.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by ${modelName} on 2018/3/13.
 */
@Component
public class TimerTest {

    @Autowired
    private TtService testService;

    @Scheduled(fixedDelay = 10)
    public void a(){
        String a = testService.testA("this is a test");
        System.out.println(a);
    }

}
